﻿<%@ control language="VB" autoeventwireup="false" inherits="controls_LeftCL, App_Web_aozuc1p2" %>
<%@ Register Src="ScanClientes.ascx" TagName="ScanClientes" TagPrefix="uc1" %>
<script charset="utf-8" type="text/javascript">
<!--
function EnviarIMG() 
{
var windowprops ="top=50,left=50,toolbar=no,location=no,status=no, menubar=no,scrollbars=no,resizable=no,width=450,height=300;"
window.open('Upload.aspx','LoadDocs',windowprops); 
}

function Abrir_Img(IM) 
{
var windowprops ="top=5,left=5,toolbar=no,location=no,status=yes, menubar=no,scrollbars=yes,resizable=yes,width=550,height=500;"
window.open('DocumentView.aspx?IM=' + IM ,'LoadDocs',windowprops); 
}
// -->
</script>

<br/>
<table width=100%>
    <tr>
        <td>
            <asp:Label ID="lblClTitulo" runat="server" Font-Bold="True" ForeColor="White" Text="Opciones de cliente"></asp:Label></td>
    </tr>
    <tr>
        <td>
<table border=0>
    <tr id="trBloqueado" runat="server">
        <td style="width: 20px">
            <img src="img/buttons/delete.gif" /></td>
        <td style="width: 150px">
            <asp:Label ID="lblClBloqueado" runat="server" ForeColor=red BackColor=white Text="¡¡¡Cliente bloqueado!!!"></asp:Label></td>
    </tr>
    <tr>
        <td style="width: 20px">
            <img src="img/buttons/new_item2.gif" /></td>
        <td style="width: 150px">
            <a class="navanchordark" title="Enviar documento scaneado  a la oficina central" href="#" onclick="EnviarIMG()"><font color="white">Enviar documento</font></a></td>
    </tr>
    <tr>
        <td style="width: 20px">
            <img src="img/buttons/DownArrowGreen.gif" /></td>
        <td style="width: 150px">
            <asp:LinkButton ID="lblVerFacturas" runat="server" ToolTip="Muestra la lista de facturas del cliente seleccionado" ForeColor="White">Lista de facturas</asp:LinkButton></td>
    </tr>
    <tr>
        <td align="center" style="width: 20px">
            <img src="img/4.gif" /></td>
        <td style="width: 150px">
            <asp:LinkButton ID="lblCvMonedas" runat="server" Enabled="False" ForeColor="White"
                ToolTip="Compra y venta de monedas">Negocio de monedas</asp:LinkButton></td>
    </tr>
    <tr>
        <td align="center" style="width: 20px">
            <img src="img/multi_folder2.gif" /></td>
        <td style="width: 150px">
            <asp:LinkButton ID="lblCertificado" runat="server" ForeColor="White" Enabled="False" ToolTip="Opciones de cliente...">Opciones...</asp:LinkButton></td>
    </tr>
</table>
        </td>
    </tr>
    <tr>
        <td id="trLinkImg" runat="server" align="center">
            <uc1:ScanClientes ID="ScanClientes1" runat="server" />
</td>
    </tr>
    <tr>
        <td runat="server" align="center" id="tdListFact">
            <asp:GridView ID="GV" runat="server" AutoGenerateColumns="False" CellPadding="0"
                ForeColor="#333333" GridLines="None" Width="90%">
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:TemplateField HeaderText="Fecha" ShowHeader="False">
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandArgument='<%# Bind("FraID") %>'
                                Text='<%# Bind("FraFechaAlb", "{0:d}") %>'></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="TotalE" DataFormatString="{0:n2}" HeaderText="Importe"
                        HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Right" />
                        <HeaderStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="FraStatus">
                        <ItemStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                </Columns>
                <RowStyle BackColor="#EFF3FB" />
                <EditRowStyle BackColor="#2461BF" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" CssClass="HeadGV" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
        </td>
    </tr>
    <tr id="trDocsAdicionales" runat="server">
        <td align="center">
            <table>
                <tr>
                    <td>
                        <asp:Label ID="lblTitulo" runat="server" ForeColor="White" Text="Documentacion adicional"></asp:Label></td>
                </tr>
                <tr>
                    <td>
                        <asp:GridView ID="GVDA" runat="server" AutoGenerateColumns="False" CellPadding="4"
                            ForeColor="#333333" GridLines="None" Width="100%">
                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <Columns>
                                <asp:BoundField DataField="dnc_Descripcion" HeaderText="Documento">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:BoundField>
                                <asp:BoundField DataField="dnl_FechaEntrega" DataFormatString="{0:d}" HeaderText="Fecha"
                                    HtmlEncode="False" Visible="False">
                                    <ItemStyle HorizontalAlign="Right" />
                                    <HeaderStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                                <asp:BoundField DataField="us_Origen" HeaderText="Oficina">
                                    <ItemStyle HorizontalAlign="Right" />
                                    <HeaderStyle HorizontalAlign="Right" />
                                </asp:BoundField>
                            </Columns>
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <EditRowStyle BackColor="#999999" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" CssClass="HeadGV" />
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblError" runat="server" BackColor="Red" ForeColor="White"></asp:Label></td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblAyuda" runat="server" ForeColor="#FFFF80"></asp:Label></td>
    </tr>
</table>
